home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / DATATION / MANAGE3.LZH / INSTALL.BAT < prev   
DOS Batch File  |  1990-04-19  |  1KB  |  45 lines

  1. :instal2.bat  LMS FOXBASE RUNTIME
  2.  
  3. echo off
  4. cls
  5. if %1x == x                 goto error1
  6. if %2x == x                 goto error1
  7. if %1x == %2x               goto error1
  8. goto start
  9.  
  10. :ERROR1
  11. ECHO              ┌──────────────────────────────────────────┐
  12. ECHO              │ You must type:  INSTALL f: t:            │
  13. ECHO              │                                          │
  14. ECHO              │ f: = Diskette drive letter  (from)       │
  15. ECHO              │ t: = Hard disk drive letter (to)         │
  16. ECHO              │                                          │
  17. ECHO              │ Example:   INSTALL A: C:                 │
  18. ECHO              └──────────────────────────────────────────┘
  19. GOTO EXIT
  20.  
  21. :START
  22. CLS
  23. ECHO           ┌──────────────────────────────────────────────────┐
  24. ECHO           │     Product will be installed from %1 to %2      │
  25. ECHO           └──────────────────────────────────────────────────┘
  26.  
  27. ECHO Type ^c to abort or
  28. pause
  29.  
  30.  
  31. %2
  32. cd \
  33. md LMS
  34. cd LMS
  35.  
  36.  
  37. :------------------------------------------------------
  38. : Install FoxBase 2.10 runtime engine
  39. :------------------------------------------------------
  40. if not exist %1fox210r.exe goto exit
  41. copy %1fox210r.exe
  42. fox210r -r
  43.  
  44. :exit
  45.